import Userinfonav from './userinfonav';
import React from 'react';
import {BrowserRouter} from 'react-router-dom';
import Myroute from '../API/myroute';
import Userhome from './userhome/userhome';
import Userfollow from './userfollow/userfollow';
import Userupdation from './userupdation/userupdation';
import Userfans from './userfans/userfans';
import Userarticles from './userarticles/userarticles';
import Uservlogs from './uservlogs/uservlogs';
import Usercollection from './usercollection/usercollection';
import Usermessages from './usermessages/usermessages';

function Userbody() {

    return(
        <BrowserRouter>
            <Userinfonav/>
            <Myroute path={"/userhome"} component={Userhome}/>
            <Myroute path={"/userfollow"} component={Userfollow}/>
            <Myroute path={"/userupdation"} component={Userupdation}/>
            <Myroute path={"usermessages"} component={Usermessages}/>
            <Myroute path={"/userfans"} component={Userfans}/>
            <Myroute path={"/usercollection"} component={Usercollection}/>
            <Myroute path={"/userarticles"} component={Userarticles}/>
            <Myroute path={"/uservlogs"} component={Uservlogs}/>
        </BrowserRouter>
    )

}

export default Userbody;
